package com.ykzb.project.service.impl;

import com.ykzb.base.service.impl.BaseServiceImpl;
import com.ykzb.classify.dao.IClassifyDao;
import com.ykzb.classify.model.Classify;
import com.ykzb.classify.service.IClassifyService;
import com.ykzb.project.dao.ICategoryDao;
import com.ykzb.project.model.CategoryInfo;
import com.ykzb.project.service.ICategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CategoryServiceImpl implements ICategoryService
{
    @Autowired
    private ICategoryDao categoryDao;

    /**
     * 查询分类
     * @param param
     * @return
     */
    @Override
    public List<CategoryInfo> selectCategory(Map<String,Object> param) {
        return categoryDao.selectCategory(param);
    }
}